//
// Created by ✎﹏ℳ๓独赏 ☆独醉 on 2023/2/27.
//
#include <stdio.h>

//define定义的标识符常量
#define Num 100

//#define可以定义宏
int Max01(int a,int b){
    if(a>b){
        return a;
    }else{
        return b;
    }
}
#define Max02(a,b) (a>b?a:b)
int main(){
    int a = Num;
    int b = 10;
    int max = Max01(a,b);
    printf("max:%d\n",max);
    max = Max02(a,b);//相当于max = a>b?a:b
    printf("max:%d\n",max);
    return 0;
}